package cn.observer2;

/**
 * Created by jt on 2018/3/22.
 */

/**
 * 被观察者
 */
public interface Observable {

    void addObserver(Observer observer) ;

    void deleteObserver(Observer observer) ;

    void notifyObserver(String msg) ;

}
